package cn.com.open.itembank.dto;

import cn.com.open.itembank.common.BaseModel;

/**
 * Created by lucky on 2017/7/19.
 */

/**
 * 题库课程DTO
 */
public class ItemBank extends BaseModel {
    public ItemBank() {
        this.courseID = "";
        this.courseName = "";
        this.appID = "";
        this.createOrgID = "";
    }

    /**
     * 资源课程ID
     */
    private String courseID;

    /**
     * 题库名称
     */
    private String courseName;

    /**
     * APPID
     */
    private String appID;

    /**
     * 创建机构ID
     */
    private String createOrgID;

    /**
     * Gets 资源课程ID
     *
     * @return 资源课程ID course id
     */
    public String getCourseID() {
        return courseID;
    }

    /**
     * Sets 资源课程ID
     *
     * @param courseID 资源课程ID
     */
    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    /**
     * Gets 题库名称
     *
     * @return 题库名称 course name
     */
    public String getCourseName() {
        return courseName;
    }

    /**
     * Sets 题库名称
     *
     * @param courseName 题库名称
     */
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    /**
     * Gets APPID.
     *
     * @return APPID app id
     */
    public String getAppID() {
        return appID;
    }

    /**
     * Sets APPID.
     *
     * @param appID APPID
     */
    public void setAppID(String appID) {
        this.appID = appID;
    }

    /**
     * Gets 创建机构ID.
     *
     * @return 创建机构ID create org id
     */
    public String getCreateOrgID() {
        return createOrgID;
    }

    /**
     * Sets 创建机构ID.
     *
     * @param createOrgID 创建机构ID
     */
    public void setCreateOrgID(String createOrgID) {
        this.createOrgID = createOrgID;
    }

    @Override
    public String toString() {
        return String.format("appID:%s,courseID:%s,courseName:%s,createOrgID:%s", this.appID, this.courseID, this.courseName, this.createOrgID);
    }
}
